<?php 
if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); 
$document = & JFactory::getDocument();
$document->addStyleSheet(JURI::base(true).'/components/com_virtuemart/themes/ilvm_theme/css/shop_mainpages/'.$this->get_cfg('mainpage_solutions').'/'.$this->get_cfg('mainpage_style').'.css');
$show_mainpage_title = $this->get_cfg('show_mainpage_title');
defined( 'vmToolTipCalled') or define('vmToolTipCalled', 1);
echo $vendor_store_desc;
if($vendor_store_desc !="") {
echo "<br />";
}
if($show_mainpage_title =="1") {
echo "<h4 class='shop_mainpage_h4'>".$VM_LANG->_('PHPSHOP_CATEGORIES')."</h4>";
}
echo $categories; ?>
<div class="vmRecent">
<?php echo $recent_products; ?>

</div>
<?php
// Show Featured Products
if( $this->get_cfg( 'showFeatured', 1 )) {
    /* featuredproducts(random, no_of_products,category_based) no_of_products 0 = all else numeric amount
    edit featuredproduct.tpl.php to edit layout */
    echo $ps_product->featuredProducts(true,10,false);
}
// Show Latest Products
if( $this->get_cfg( 'showlatest', 1 )) {
    /* latestproducts(random, no_of_products,month_based,category_based) no_of_products 0 = all else numeric amount
    edit latestproduct.tpl.php to edit layout */
    ps_product::latestProducts(true,10,false,false);
}
?>